﻿# -*- coding:utf-8 -*-
#
# pcadmin
#
from django.contrib import admin
from pcadmin.models import Plugin, Agent, Task, AgentLog, TaskField, TaskFieldValue, TaskQueue


class AgentLogAdmin(admin.ModelAdmin):
    list_display = ('date', 'agent', 'task', 'code', 'message')
#class VariablesAdmin(admin.ModelAdmin):   
#    list_display = ('name','value','description')

admin.site.register(Plugin)    
admin.site.register(Agent)
admin.site.register(AgentLog, AgentLogAdmin)
admin.site.register(Task)
admin.site.register(TaskField)
admin.site.register(TaskQueue)
admin.site.register(TaskFieldValue)



#admin.site.register(Author, AuthorAdmin)
#admin.site.register(Variables, VariablesAdmin)